package cn.itcast.service.impl;

import cn.itcast.dao.OrderSettingsDao;
import cn.itcast.service.OrderSettingsService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

@Service(version = "1.0.0")
public class OrderSettingsServiceImpl implements OrderSettingsService {

    @Autowired
    private OrderSettingsDao orderSettingsDao;

    /**
     * 查询该月收入和
     * @param time
     * @param time1
     * @return
     */
    @Override
    public Integer queryOrderSettingsSum(String time, String time1) {
        return orderSettingsDao.selectOrderSettingsSum(time,time1);
    }
}
